window.addEventListener('load',function(){
    let input = document.querySelector('#search-input');
    input.addEventListener('click',function(){
        input.style.placeholder = '搜索文章/小册/标签/用户';
    })

    let nav = document.querySelector('.nav');
    
window.onscroll//窗口的滚动条滚动时
= function(){
   if(document.documentElement.scrollTop>650){
          nav.style.display = "none";
   }else{
       nav.style.display = "block";
   }

}
})
